package com.zhai.domain.strategy.service;

import com.zhai.domain.strategy.model.entity.RaffleAwardEntity;
import com.zhai.domain.strategy.model.entity.RaffleFactorEntity;
import com.zhai.domain.strategy.model.valobj.StrategyAwardStockKeyVO;

/**
 * @Description: 抽奖库存相关服务，获取库存消耗队列
 * @ClassName: IRaffleStock
 * @Author: zhaiyongxin
 * @Date: 2025/1/3 15:22
 * @Version: 1.0
 */
public interface IRaffleStock {

    /**
     * 获取队列值
     * @return
     */
    StrategyAwardStockKeyVO takeQueueValue();

    /**
     * 更新奖品消耗库存
     * @param strategyId
     * @param awardId
     */
    void updateStrategyAwardStock(Long strategyId, Integer awardId);
}
